<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>失物招领</title>
    <link rel="stylesheet" href="../../static/css/lose.css">
</head>
<body>
<div class="head">
    <div class="nav">
        <ul>
            <li><a href="/homepage">首页</a> </li>
            <li><a href="/lose">失物招领</a> </li>
            <li><a href="/helpindex">有偿帮忙</a> </li>
            <li><a href="/inserthappy">今日之趣&今日不悦</a> </li>
        </ul>
        <div class="title">我要发布</div>
    </div>
</div>
<div class="box">
    <div class="lost-title">
        <span>失物招领处</span>
    </div>
    <div th:each="lose:${lose_li}" class="list">
        <ul>
            <span ><img th:src="${lose.hp}"></span></br>
            <span>捡到的人：</span>
            <span th:text="${lose.username}"></span></br>
            <span>失物号：</span>
            <span th:text="${lose.loseId}"></span></br>
            <span>失物名字：</span>
            <span th:text="${lose.loseTitle}"></span></br>
            <span>丢失时间：</span>
            <span th:text="${lose.loseTime}"></span></br>
            <span>丢失物描述：</span>
            <span th:text="${lose.characteristic}"></span></br>

            <span>捡到的人的电话：</span>
            <span th:text="${lose.userphone}"></span></br>
        </ul>
    </div>
    <form action="/lose" method="post">
        <div class="submit-box" style="display: none">
            <span>失物号：</span>
            <input type="text" name="loseId"><br>
            <span>失物名字：</span>
            <input type="text" name="loseTitle"><br>
            <span>丢失物描述：</span>
            <textarea name="characteristic"></textarea><br>
            <span>丢失时间：</span>
            <input type="text" name="username"><br>
            <span>姓名：</span>
            <input type="text"><br>
            <span>电话：</span>
            <input type="text" name="userphone"><br>
            <button type="submit" class="get">确定</button>
            <button class="det" type="button">取消</button>
        </div>
    </form>

</div>

<script type="text/javascript" src="../../static/script/loseJS.js"></script>
</body>
</html>